Heading estimation for determining a user&#39;s location

ABSTRACT

Technologies for determining a user&#39;s location by a mobile computing device include detecting, based on sensed inertial characteristics of the mobile computing device, that a user of the mobile computing device has taken a physical step in a direction. The mobile computing device determines a directional heading of the mobile computing device in the direction and a variation of an orientation of the mobile computing device relative to a previous orientation of the mobile computing device at a previous physical step of the user based on the sensed inertial characteristics. The mobile computing device further applies a Kalman filter to determine a heading of the user based on the determined directional heading of the mobile computing device and the variation of the orientation and determines an estimated location of the user based on the user&#39;s determined heading, an estimated step length of the user, and a previous location of the user at the previous physical step.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.14/426,604, filed Mar. 6, 2015, which is a national stage entry under 35USC § 371(b) of International Application No. PCT/CN2014/076363, whichwas filed Apr. 28, 2014.

BACKGROUND

Mobile navigation and location-tracking systems are commonly included onmobile computing devices such as smartphones. For example, a mobilecomputing device may be used to guide a user between locations using,for example, global positioning system (GPS) circuitry on the mobilecomputing device and referencing a geographical map. However, suchsystems are frequently limited to outdoor applications due to a need fornetwork and/or GPS connectivity. Indoor navigation and location trackingsolutions oftentimes track the location of the mobile computing devicewithout relying on GPS and/or external sensors.

Mobile computing devices typically include a number of inertial sensorsthat collect data, which may be analyzed by, for example, an on-boardinertial measurement unit (IMU) to determine various context of theuser, such as the user's estimated location. “Dead reckoning” is onetypical process of calculating a user's current position based on apreviously determined position, estimated speed, and elapsed period oftime, which may be determined based on sensor data generated by theinertial sensors. On-board inertial sensors such as accelerometers andmagnetometers make it possible for mobile computing devices to count auser's steps and take compass readings for navigational purposes (i.e.,for pedestrian dead reckoning). Pedestrian dead reckoning (PDR) permitsindoor navigation while consuming less power (e.g., compared to GPSnavigation) and requiring less a prior information.

BRIEF DESCRIPTION OF THE DRAWINGS

The concepts described herein are illustrated by way of example and notby way of limitation in the accompanying figures. For simplicity andclarity of illustration, elements illustrated in the figures are notnecessarily drawn to scale. Where considered appropriate, referencelabels have been repeated among the figures to indicate corresponding oranalogous elements.

FIG. 1 is a simplified block diagram of at least one embodiment of amobile computing device for determining a user's location;

FIG. 2 is a simplified block diagram of at least one embodiment of themobile computing device of FIG. 1;

FIG. 3 are simplified illustrations of a user holding the mobilecomputing device of FIG. 1 in various orientations; and

FIGS. 4-6 are a simplified flow diagram of at least one embodiment of amethod for determining a user's location that may be executed by themobile computing device of FIG. 1.

DETAILED DESCRIPTION OF THE DRAWINGS

While the concepts of the present disclosure are susceptible to variousmodifications and alternative forms, specific embodiments thereof havebeen shown by way of example in the drawings and will be describedherein in detail. It should be understood, however, that there is nointent to limit the concepts of the present disclosure to the particularforms disclosed, but on the contrary, the intention is to cover allmodifications, equivalents, and alternatives consistent with the presentdisclosure and the appended claims.

References in the specification to “one embodiment,” “an embodiment,”“an illustrative embodiment,” etc., indicate that the embodimentdescribed may include a particular feature, structure, orcharacteristic, but every embodiment may or may not necessarily includethat particular feature, structure, or characteristic. Moreover, suchphrases are not necessarily referring to the same embodiment. Further,when a particular feature, structure, or characteristic is described inconnection with an embodiment, it is submitted that it is within theknowledge of one skilled in the art to effect such feature, structure,or characteristic in connection with other embodiments whether or notexplicitly described. Additionally, it should be appreciated that itemsincluded in a list in the form of “at least one A, B, and C” can mean(A); (B); (C): (A and B); (B and C); or (A, B, and C). Similarly, itemslisted in the form of “at least one of A, B, or C” can mean (A); (B);(C): (A and B); (B and C); or (A, B, and C).

The disclosed embodiments may be implemented, in some cases, inhardware, firmware, software, or any combination thereof. The disclosedembodiments may also be implemented as instructions carried by or storedon one or more transitory or non-transitory machine-readable (e.g.,computer-readable) storage medium, which may be read and executed by oneor more processors. A machine-readable storage medium may be embodied asany storage device, mechanism, or other physical structure for storingor transmitting information in a form readable by a machine (e.g., avolatile or non-volatile memory, a media disc, or other media device).

In the drawings, some structural or method features may be shown inspecific arrangements and/or orderings. However, it should beappreciated that such specific arrangements and/or orderings may not berequired. Rather, in some embodiments, such features may be arranged ina different manner and/or order than shown in the illustrative figures.Additionally, the inclusion of a structural or method feature in aparticular figure is not meant to imply that such feature is required inall embodiments and, in some embodiments, may not be included or may becombined with other features.

Referring now to FIG. 1, a mobile computing device 100 for determining auser's location using pedestrian dead reckoning techniques is shown. Inuse, as described in more detail below, the mobile computing device 100is configured to collect and process sensor data from a plurality ofsensors of the mobile computing device 100. For example, the sensors maycollect data associated with the acceleration, orientation, and/or otherinertial characteristics of the mobile computing device 100. Based on ananalysis of the sensor data, the mobile computing device 100 determinespoints in time at which the user of the mobile computing device 100 hastaken a physical step (i.e., while walking, jogging, running, or havinganother gait). The mobile computing device 100 determines variousheadings of the user (e.g., raw heading, estimated heading, etc.),orientations of the mobile computing device 100 and user (e.g., relativeto one another and/or to previous orientations), and a distance traveledby the user (e.g., based on the user's estimated step length). Further,as discussed below, in the illustrative embodiment, the mobile computingdevice 100 utilizes a Kalman filter to estimate the user's heading andappropriately handle non-step motions (e.g., tilt and rotation of themobile computing device 100 by the user). It should be appreciated thatthe technologies described herein are useful and equally apply to bothindoor and outdoor location tracking.

The mobile computing device 100 may be embodied as any type of computingdevice capable of performing the functions described herein. Forexample, the mobile computing device 100 may be embodied as asmartphone, cellular phone, wearable computing device, personal digitalassistant, mobile Internet device, tablet computer, netbook, notebook,ultrabook, laptop computer, and/or any other mobilecomputing/communication device. As shown in FIG. 1, the illustrativemobile computing device 100 includes a processor 110, an input/output(“I/O”) subsystem 112, a memory 114, a data storage 116, and one or moresensors 118. Of course, the mobile computing device 100 may includeother or additional components, such as those commonly found in atypical computing device (e.g., various input/output devices and/orother components), in other embodiments. Additionally, in someembodiments, one or more of the illustrative components may beincorporated in, or otherwise form a portion of, another component. Forexample, the memory 114, or portions thereof, may be incorporated in theprocessor 110 in some embodiments.

The processor 110 may be embodied as any type of processor capable ofperforming the functions described herein. For example, the processormay be embodied as a single or multi-core processor(s), digital signalprocessor, microcontroller, or other processor or processing/controllingcircuit. Similarly, the memory 114 may be embodied as any type ofvolatile or non-volatile memory or data storage capable of performingthe functions described herein. In operation, the memory 114 may storevarious data and software used during operation of the mobile computingdevice 100 such as operating systems, applications, programs, libraries,and drivers. The memory 114 is communicatively coupled to the processor110 via the I/O subsystem 112, which may be embodied as circuitry and/orcomponents to facilitate input/output operations with the processor 110,the memory 114, and other components of the mobile computing device 100.For example, the I/O subsystem 112 may be embodied as, or otherwiseinclude, memory controller hubs, input/output control hubs, firmwaredevices, communication links (i.e., point-to-point links, bus links,wires, cables, light guides, printed circuit board traces, etc.) and/orother components and subsystems to facilitate the input/outputoperations. In some embodiments, the I/O subsystem 112 may form aportion of a system-on-a-chip (SoC) and be incorporated, along with theprocessor 110, the memory 114, and other components of the mobilecomputing device 100, on a single integrated circuit chip.

The data storage 116 may be embodied as any type of device or devicesconfigured for short-term or long-term storage of data such as, forexample, memory devices and circuits, memory cards, hard disk drives,solid-state drives, or other data storage devices. In the illustrativeembodiment, the data storage 116 and/or the memory 114 may store a userstep model 130, sensor data, derived data (e.g., user locationwaypoints), and/or various other data useful during operation of themobile computing device 100 as discussed below in regard to FIG. 2.

In the illustrative embodiment, the sensors 118 collect data associatedwith the acceleration, orientation, and/or other inertialcharacteristics of the mobile computing device 100. Of course, in someembodiments, the sensors 118 may collect other data that may be used bythe mobile computing device 100 in performing the functions describedherein. In various embodiments, the sensors 118 may be embodied as, orotherwise include, for example, inertial sensors, proximity sensors,optical sensors, light sensors, audio sensors, temperature sensors,motion sensors, piezoelectric sensors, pressure sensors, and/or othertypes of sensors that generate data useful in determining the locationof a user of the computing device 100 as discussed in more detail below.For example, in the illustrative embodiment, the sensors 118 includeaccelerometer 124, a gyroscope 126, and a magnetometer 128. Of course,in other embodiments, the sensors 118 may include multipleaccelerometers, gyroscopes, and/or magnetometers, and/or other sensorsas discussed above. The accelerometer 124 may be embodied as any sensor,circuitry, and/or other components configured to measure accelerationand/or other motion of the mobile computing device 100 (e.g., along eachof the three-dimensional axes of the mobile computing device 100). Thegyroscope 126 may be embodied as any sensor, circuitry, and/or othercomponents configured to measure the angular orientation of the mobilecomputing device 100 relative to a predefined coordinate system. Thatis, the gyroscope 126 may measure the roll, pitch, and/or yaw of themobile computing device 100. The magnetometer 128 may be embodied as anysensor, circuitry, and/or other components configured to measure themagnetic field (e.g., a compass) and/or other information useful indetermining the direction in which the mobile computing device 100 ispointing (e.g., with respect to due North). Of course, the mobilecomputing device 100 may also include components and/or devicesconfigured to facilitate the use of the sensors 118 (e.g., an inertialmeasurement unit).

In some embodiments, the computing device 100 may also includecommunication circuitry 120. The communication circuitry 120 may beembodied as any communication circuit, device, or collection thereof,capable of enabling communications between the mobile computing device100 and other remote devices over a network (not shown). Thecommunication circuitry 120 may be configured to use any one or morecommunication technologies (e.g., wireless or wired communications) andassociated protocols (e.g., Ethernet, Bluetooth®, Wi-Fi®, WiMAX, etc.)to effect such communication depending on, for example, the type ofnetwork, which may be embodied as any type of communication networkcapable of facilitating communication between the mobile computingdevice 100 and remote devices.

The computing device 100 may also include one or more peripheral devicesin some embodiments. The peripheral devices 122 may include any numberof additional peripheral or interface devices. The particular devicesincluded in the peripheral devices 122 may depend on, for example, thetype and/or intended use of the mobile computing device 100.

Referring now to FIG. 2, in use, the mobile computing device 100establishes an environment 200 for determining a user's location. Asdiscussed below, the mobile computing device 100 estimates the user'sheading and determines an estimated location of the user based on theuser's estimated heading, an estimated step length of the user, and aprevious location of the user (e.g., the location of the user prior totaking the step for which the user's heading was calculated). It shouldbe appreciated that, in some embodiments, the mobile computing device100 may determine the user's heading and/or estimate the location of theuser in response to each physical step of the user. As described ingreater detail below, the determined heading for one or more steps ofthe user and/or determined location(s) of the user may be ignored orotherwise refined based on various criteria.

The illustrative environment 200 of the mobile computing device 100includes a sensor processing module 202, a heading determination module204, and a location determination module 206. Additionally, the sensorprocessing module 202 includes a step detection module 208 and aninertial measurement module 210, and the heading determination module204 includes a raw heading estimation module 212, a motion managementmodule 214, and a Kalman filter module 216. Further, the locationdetermination module 206 includes a step length estimation module 218and a location refinement module 220. Each of the modules of theenvironment 200 may be embodied as hardware, software, firmware, or acombination thereof. Additionally, in some embodiments, one or more ofthe illustrative modules may be an independent module or form a portionof another module. For example, in some embodiments, the locationrefinement module 220 may be separate from the location determinationmodule 206.

The sensor processing module 202 analyzes or processes the datacollected by the sensors 118. In particular, the step detection module208 detects when the user takes a physical step. For example, in someembodiments, the step detection module 208 determines whether the userhas taken a physical step based on sensor data collected from theaccelerometer 124 (e.g., by analyzing changes in the magnitude of theacceleration of the mobile computing device 100). In other embodiments,the step detection module 208 may detect physical steps of the userbased on sensor data collected by another set of sensors 118. It shouldbe appreciated that, in some embodiments, the step detection module 208may be embodied as a pedometer or a similar module.

The inertial measurement module 210 is configured to process the sensordata associated with inertial characteristics of the mobile computingdevice 100. For example, the inertial measurement module 210 may convertthe sensor data into a format usable by the heading determination module204. In some embodiments, the inertial measurement module 210 may beembodied as an inertial measurement unit (IMU) configured to processdata collected by the accelerometer 124, the gyroscope 126, themagnetometer 128, and/or other sensors 118 of the mobile computingdevice 100 to determine movement characteristics of the mobile computingdevice 100 such as, for example, acceleration, tilt, and orientation. Itshould be appreciated that the inertial measurement module 210 may beembodied as an independent module or form a portion of one or more othermodules of the mobile computing device 100.

The heading determination module 204 analyzes various data to estimate aheading of the user, which may be used by the location determinationmodule 206 to determine and/or track the location of the user. Asdiscussed above, in the illustrative embodiment, the headingdetermination module 204 includes the raw heading estimation module 212,the motion management module 214, and the Kalman filter module 216.

The raw heading estimation module 212 determines a “raw” heading of themobile computing device 100 based on the sensed inertial characteristicsof the mobile computing device 100 and/or processed sensor data (e.g.,from the inertial measurement module 210) and an indication that theuser has taken a physical step (e.g., from the step detection module208). In the illustrative embodiment, the raw heading estimation module212 determines the directional heading of the mobile computing device100 and/or the user and an orientation of the mobile computing device100 relative to a previous orientation of the mobile computing device100 based on, for example, sensed inertial characteristics of the mobilecomputing device 100. For example, the raw heading estimation module 212may determine a variation in the orientation of the mobile computingdevice 100 at a current step relative to the orientation of the mobilecomputing device 100 at a previous step (e.g., the user's next to laststep). As described below, in some embodiments, the raw headingestimation module 212 converts a sensed acceleration of the mobilecomputing device 100 to Earth's frame of reference and integrates theacceleration to determine a directional velocity of the mobile computingdevice 100. It should be appreciated that, in some circumstances, theraw heading estimation module 212 assumes the mobile computing device100 and the user travel with the same velocity and, therefore, anestimation of the magnitude and/or direction of the velocity of themobile computing device 100 may approximate the magnitude and/ordirection of the velocity of the user. In the illustrative embodiment,the directional heading of the mobile computing device 100 is determinedas, or otherwise based on, the direction of the determined velocity ofthe mobile computing device 100. However, in other embodiments, themagnitude of the determined velocity of the mobile computing device 100may also be used in determining the directional heading of the mobilecomputing device 100.

In some cases, the user may hold the mobile computing device 100 infront of her such that the mobile computing device 100 is maintained ina fixed orientation relative to the user. In those circumstances, themovement of the mobile computing device 100 is generally limited to stepmotions (i.e., related to the stepping movements of the user). However,in typical circumstances, the user may hold the mobile computing device100 in a casual manner such that the mounting position (i.e.,orientation in which the mobile computing device 100 is held) may changeover time. For example, the user may turn the mobile computing device100 from a portrait orientation (i.e., zero degrees relative to theuser) to a landscape orientation (i.e., ninety degrees relative to theuser), place the mobile computing device 100 in her pocket, tilt themobile computing device 100 (e.g., forward/down or backward/up), and/orotherwise reposition the mobile computing device 100. It should beappreciated that typical PDR implementations have difficulty in handlingsuch non-step motions while minimizing/reducing error (i.e., whencompared to a ground truth).

The motion management module 214 accounts for those non-step motions(e.g., tilt and rotation of the mobile computing device 100 by the user)to enable the heading determination module 204 to more accuratelyestimate the user's heading. To do so, the motion management module 214may detect hand motion of the user. In particular, in the illustrativeembodiment, if the motion management module 214 detects tilt (i.e.,rotation in a non-horizontal plane) of the mobile computing device 100relative to an orientation of the mobile computing device 100 at aprevious step, the motion management module 214 ignores the detectedphysical step. As described below, the mobile computing device 100utilizes a Kalman filter to estimate the user's heading. So, in otherwords, the motion management module 214 prevents data associated withthe detected step from being processed by the Kalman filter, or theKalman filter otherwise rejects the data. If the mobile computing device100 has no relative tilt in the subsequent step, the motion managementmodule 214 may again allow data to be transmitted to and processed bythe Kalman filter. It should be appreciated that, in some embodiments,the motion management module 214 may establish a threshold amount ofrelative tilt by which the motion must exceed to ignore the step. Suchembodiments may account for small amounts of tilt common with, forexample, a stepping motion and/or motion that does not effect theaccuracy of the heading estimation. In some embodiments, if notcompensated for as described herein, such motions causing the mobilecomputing device 100 to tilt can result in a state transition error,ε_(k), that does not approximate Gaussian or white noise.

The motion management module 214 also accounts for rotational motionalong a horizontal plane. It should be appreciated that large rotationalmovements of the mobile computing device 100 along the horizontal planemay or may not be associated with the user's movement and, therefore,with the user's heading. For example, a large rotational movement (e.g.,ninety degrees) may be associated with the user making a turn, the userspinning the mobile computing device 100 relative to herself, or acombination of those movements. If there is no tilt associated with thehorizontal rotation and/or tilt not exceeding a reference threshold, themotion management module 214 does not prevent the data from beingprocessed by the Kalman filter as described above.

It should be appreciated that, if otherwise left unaccounted for,movements of the mobile computing device 100 relative to the user maylead to inaccurate heading estimations for the user. In the illustrativeembodiment, if the horizontal rotational motion exceeds a referencethreshold (e.g., seventy-five degrees, ninety degrees, one hundreddegrees, etc.), the motion management module 214 no longer trusts themeasurements associated with the relative orientation (O_(k)−O_(k−1)) ofthe mobile computing device 100 as described below. In one particularembodiment, the reference threshold is ninety degrees of rotation as aninety degree turn in a single physical step is unnatural and thereforeuncommon. As such, the motion management module 214 reinitializes theKalman filter and increases the Kalman filter's tolerance in error byincreasing the state covariance, P, of the filter. In other words, themotion management module 214 may act as an adaptive controller tohandle, at least in part, the initialization and parameters of theKalman filter described below. It should further be appreciated that, insome circumstances, the motion management module 214 may not (or may notfully) account for the non-step motions of the mobile computing device100.

The Kalman filter module 216 applies a Kalman filter to determine aheading of the user based on the raw heading of the mobile computingdevice 100 and a variation in orientation of the mobile computing device100 (i.e., an orientation of the mobile computing device 100 relative tothe orientation at the previous step). As described above, the Kalmanfilter module 216 may reject various data from the Kalman filter (e.g.,in conjunction with the motion management module 214) and may initialize(e.g., prior to the first measured/detected step of the user) and/orreinitialize the Kalman filter at various points in time. In theillustrative embodiment, the Kalman filter module 216 applies the Kalmanfilter to estimate the real-time heading of the user based on anillustrative PDR model, which is described in reference to FIG. 3 below.

Referring now to FIG. 3, a user 300 is shown at different physical steps302, 304, 306 with various headings (H_(k−1), H_(k), H_(k+1)) andholding the mobile computing device 100 in various orientations(O_(k−1), O_(k), O_(k+1)) relative to a frame of reference. In theillustrative steps 302, 304, 306, it should be appreciated that O_(k) isthe orientation of the mobile computing device 100 in the horizontalplane in step k, H_(k) is the user's heading in step k, and R_(k) is therelative angle between the device orientation and the user's heading instep k. More specifically, at a first step 302, the user 300 has aheading, H_(k−1), of zero degrees relative to the frame of reference,the mobile computing device 100 has an orientation, O_(k−1), of zerodegrees, and the relative angle, R_(k−1), defined therebetween is zerodegrees. At a second step 304, the user 300 has a heading, H_(k), ofzero degrees, the mobile computing device 100 has an orientation, O_(k),of ninety degrees, and the relative angle, R_(k), is ninety degrees.Further, at a third step 306, the user 300 has a heading, H_(k+1), offorty-five degrees, the mobile computing device 100 has an orientation,O_(k+1), of 135 degrees and the relative angle, R_(k+1), is ninetydegrees.

It should be appreciated that H_(k)=O_(k)+R_(k) at step k, and theuser's heading variation in step k may be calculated in the PDR modelaccording to H_(k)−H_(k−1)=(O_(k)−O_(k−1))+(R_(k)−R_(k−1)). In theillustrative PDR model, O_(k)−O_(k−1) represents the variation in theorientation of the mobile computing device 100 in step k (i.e., relativeto step k−1) and may be determined by the inertial measurement module210 based on the sensed inertial characteristics of the mobile computingdevice 100. Further, R_(k)−R_(k−1) represents the variation in therelative angle between the user 300 and the mobile computing device 100in step k (i.e., relative to step k−1). In most circumstances,R_(k)−R_(k−1) is zero because most users do not frequently change themounting position/direction of the mobile computing device 100 duringPDR.

It should be appreciated that the Kalman filter may be applied toestimate a filter state, x_(k), based on a defined state transitionfunction and a measurement function, y_(k). In the illustrativeembodiment, the filter state, x_(k), is defined as the user's heading,H_(k). In other words, x_(k)=H_(k). Based on the PDR model describedabove, the state transition function is defined asx_(k)=x_(k−1)+O_(k)−O_(k−1)+ε_(k), where ε_(k) is a state transitionerror at step k. Additionally, as described above, x_(k) is thedetermined heading of the user at step k, and O_(k) is an orientation ofthe mobile computing device 100 at step k. In the illustrativeembodiment, the state transition error includes the measurement errorassociated with determining O_(k)−O_(k−1) and the position/directionchange error, R_(k)−R_(k−1), of the mobile computing device 100. Itshould be appreciated that, in the illustrative embodiment, the Kalmanfunction assumes R_(k)−R_(k−1)=0 (e.g., to ensure stability of thefilter). However, because that may not be the case, the motionmanagement module 214 handles the circumstances in which R_(k)−R_(k−1)≠0as described above. Additionally, the measurement function, y_(k), maybe defined as y_(k)=x_(k)+δ_(k), where y_(k) is the raw heading of themobile computing device 100 as described above and δ_(k) is ameasurement error associated with integration of the acceleration of themobile computing device 100.

Returning to FIG. 2, in the illustrative embodiment, the Kalman filtermodule 216 determines an estimated heading of the user by applying alinear Kalman filter having the state transition function,x_(k)=x_(k−1)+O_(k)−O_(k−1)+ε_(k), and a measurement function,y_(k)=x_(k)+δ_(k), as described above. In other embodiments, the Kalmanfilter module 216 may apply other variations of the Kalman filter todetermine the heading of the user. For example, in some embodiments, theKalman filter module 216 may apply a Kalman filter having the statetransition function, x_(k)=H_(k)−H_(k−1)=O_(k)−O_(k−1)+ε_(k), and ameasurement function, y_(k)=x_(k)+H_(k−1)+δ_(k), where H_(k) is theestimated heading of the user at step k, x_(k) is the estimated headingchange at step k, O_(k) is an orientation of the mobile computing deviceat step k, ε_(k) is a state transition error at step k, y_(k) is thedetermined directional heading (e.g., directional velocity) of themobile computing device at step k, and δ_(k) is a measurement errorassociated with integration of an acceleration of the mobile computingdevice at step k. In yet other embodiments, the Kalman filter module 216and/or the heading determination module 204 may, additionally oralternatively, apply another filter (e.g., another discrete filter forestimation) based on the PDR model described above.

The location determination module 206 determines an estimated locationof the user based on the determined heading of the user, an estimatedstep length of the user, and the user's location at the previousphysical step. For example, the location determination module 206 maydetermine that the user is located a distance corresponding with theuser's step length away from the previous location in the direction ofthe user's determined heading. As discussed above, in the illustrativeembodiment, the location determination module 206 includes the steplength estimation module 218 and the location refinement module 220.

The step length estimation module 218 determines the estimated steplength of the user based on a user step model 130. Depending on theparticular embodiment, the user step model 130 may be a general model(e.g., one-size-fits-all model) for estimating the step length of theuser, or the user step model 130 may be a user-specific model. In someembodiments, more than one user step model 130 may be used to estimatethe step length of the user (e.g., a combination of a general model anda user-specific model). Further, in some embodiments, a user-specificuser step model 130 may be generated, or a generic model adapted, aftera “training period” with the user. For example, the mobile computingdevice 100 may request the user to take a certain number of steps andmeasure the distance traveled. Additionally, in some embodiments, theuser step model 130 may include varying step lengths depending onwhether the user is walking, jogging, running, or otherwise stepping,which may be determined based on an analysis of the sensor datacollected by the sensors 118. In other embodiments, the step lengthestimation module 218 may determine the estimated step length of theuser based on data collected by the sensors 118 of the mobile computingdevice 100 (e.g., with or without use of a user step model 130).

The location refinement module 220 is configured to refine the estimatedlocation of the user based on various factors. As described above, theKalman filter may be reinitialized by the motion management module 214and/or the Kalman filter module 216 (e.g., in response to rotationalmotion of the mobile computing device 100 that exceeds the referencethreshold for horizontal rotational motion). It should be appreciatedthat, following reinitialization, the Kalman filter requires a certainperiod of time to converge and become stable. Therefore, the user'slocation determined at points of time in which the Kalman filter isconverging may be inaccurate depending on the movement of the user.

As such, in the illustrative embodiment, the location refinement module220 refines the determined estimation location of the user in responseto determining that the Kalman filter has been reinitialized and hasconverged. For example, the location refinement module 220 may refinethe estimated locations of the user for one or more of the stepsfollowing reinitialization once the user has taken a threshold number ofsteps following reinitialization of the Kalman filter (e.g., two steps,three steps, five steps, ten steps, twenty steps, fifty steps, etc.). Inthe illustrative embodiment, the location refinement module 220“backsteps” the user's location by recalculating the user's heading fromthe latest step (e.g., the threshold step) back to the first stepfollowing reinitialization to update the user headings and byrecalculating the user's location with the updated user headings fromthe first step following reinitialization to the last step taken by theuser (e.g., the threshold step). After backstepping one or more times,the Kalman filter stabilizes (i.e., unless it is reinitialized again).It should be appreciated that the location refinement module 220 mayotherwise refine the determined headings and/or locations of the user inother embodiments.

Referring now to FIGS. 4-6, in use, the mobile computing device 100 mayexecute a method 400 for determining a user's location (e.g., usingPDR). The illustrative method 400 begins with block 402 of FIG. 4 inwhich the mobile computing device 100 determines whether to track theuser's position/location (i.e., whether to begin PDR). If so, the mobilecomputing device 100 initializes tracking in block 406. For example, inblock 406, the mobile computing device 100 initializes the Kalman filterbased on the appropriate parameters, state transition function, andmeasurement function as described above. Of course, during theinitialization, the mobile computing device 100 may retrieve the userstep model 130 from the memory 114 or data storage 116, initialize thesensors 118 and one or more modules of the mobile computing device 100(e.g., the inertial measurement module 210), and/or perform otherinitialization and configuration procedures.

In block 408, the mobile computing device 100 senses inertial and/orother characteristics of the mobile computing device 100. For example,as discussed above, the mobile computing device 100 may sense theacceleration, angular orientation (e.g., roll, pitch, and yaw), magneticfield, and/or other inertial, directional, or other characteristics ofthe mobile computing device 100 (e.g., characteristics relevant to a PDRanalysis). In block 410, the mobile computing device 100 analyzes thecollected sensor data (e.g., with an IMU) to detect, for example, whenthe user takes a physical step. The sensor data may be further analyzedto determine various characteristics (e.g., a raw heading of the mobilecomputing device 100) as described herein.

In block 412, the mobile computing device 100 determines whether aphysical step has been taken by the user of the mobile computing device100. If not, the method 400 returns to block 408 in which the mobilecomputing device 100 continues to collect data from the sensors 118 ofthe mobile computing device 100. In other words, the mobile computingdevice 100 waits until a step of the user has been detected. If themobile computing device 100 determines that the user has taken a step,the mobile computing device 100 determines the user's raw heading (i.e.,the directional heading of the mobile computing device 100) in block414. As discussed above, in doing so, the mobile computing device 100may determine the horizontal velocity of the mobile computing device 100based on the sensed acceleration of the mobile computing device 100.

In particular, the mobile computing device 100 senses an acceleration ofthe mobile computing device 100 with the sensors 118 as described above.It should be appreciated that the sensed acceleration is defined withrespect to a frame of reference of the mobile computing device 100 orthe sensor(s) 118 that sensed the acceleration of the mobile computingdevice 100. In the illustrative embodiment, the mobile computing device100 converts the sensed acceleration from the frame of reference of themobile computing device 100 to Earth's frame of reference by virtue of arotation matrix that defines a mapping between the two frames ofreference. For example, the new acceleration in Earth's frame ofreference, a_(et), may be determined according to a_(et)=A_(t)a_(t),where A_(t) is the rotation matrix and a_(t) is the sensed accelerationby the mobile computing device. It should be appreciated that therotation matrix may be calculated using any suitable algorithm ortechnique.

In the illustrative embodiment, the mobile computing device 100determines the velocity (i.e., a vector quantity) of the mobilecomputing device 100 by integrating (or summing) the acceleration inEarth's frame over a short period. It will be appreciated thatintegration or summation over an extended period of time typicallyintroduces significant error, δ_(k), as described above. Accordingly, insome embodiments, the mobile computing device 100 sums the accelerationover a very small period, Δt, in an attempt to approximate theinstantaneous velocity of the mobile computing device 100 and minimizethe introduction of error. The velocity in Earth's frame of reference,v_(et), may be determined according to v_(et)=Σa_(et)Δt. In theillustrative embodiment, the mobile computing device 100 projects thevelocity in Earth's frame of reference onto a horizontal plane (e.g., ahorizontal plane coincident with a surface on which the user hasstepped) to determine the horizontal velocity of the mobile computingdevice 100 in the direction in which the user has stepped. It will beappreciated that, in the illustrative embodiment, the determinedhorizontal velocity is the raw heading as described herein. As indicatedabove, in some embodiments, the directional heading of the mobilecomputing device 100 may ignore the magnitude of the determinedhorizontal velocity.

In block 418, the mobile computing device 100 determines whether a tilt(i.e., non-horizontal rotation) is detected. If so, the mobile computingdevice 100 ignores the detected step in block 420 and the method 400then returns to block 408 in which the mobile computing device 100 waitsuntil another step is detected. As discussed above, it should beappreciated that the mobile computing device 100 may utilize a referencethreshold and only ignore the user's step if the amount of tilt exceedsthe reference threshold.

If no tilt has been detected or the tilt does not exceed the referencethreshold, the method 400 advances to block 422 of FIG. 5 in which themobile computing device 100 determines whether a large rotation has beendetected. If so, the mobile computing device 100 reinitializes theKalman filter in block 424. In doing so, the mobile computing device 100may modify the filter parameters in block 426. For example, as describedabove, the mobile computing device 100 may increase a state covarianceof the Kalman filter to increase the Kalman filter's tolerance in error.As discussed above, the mobile computing device 100 may establish areference threshold for the amount of horizontal rotational motion thatconstitutes a “large” rotation. In other words, if the mobile computingdevice 100 is rotated by an amount exceeding the threshold, the mobilecomputing device 100 reinitializes the Kalman filter; however, if themobile computing device 100 is not rotated by an amount exceeding thethreshold, the mobile computing device 100 does not reinitialize theKalman filter in block 426. As described above, the mobile computingdevice 100 thus acts as an adaptive controller that may adjust theparameters of the Kalman filter depending on the rotational motion ofthe mobile computing device 100.

Regardless of whether the mobile computing device 100 reinitializes theKalman filter, the mobile computing device 100 estimates the user'sheading in block 428. As described above, to do so, the mobile computingdevice 100 may apply a Kalman filter based on the determined orientationchange of the mobile computing device 100, O_(k)−O_(k−1), the determinedraw heading of the mobile computing device 100, y_(k), and the filterparameters (e.g., the state covariance based on whether the Kalmanfilter has been reinitialized) in block 428. In particular, as shown inblocks 432 and 424, respectively, the mobile computing device 100 mayapply a Kalman filter having a state transition function,x_(k)=x_(k−1)+O_(k)−O_(k−1)+ε_(k), and a measurement function,y_(k)=x_(k)+δ_(k), as described above. It should be appreciated that theoutput of the Kalman filter is the state, x_(k), which has been definedas the user's heading as described above. Further, in some embodiments,the mobile computing device 100 may apply a different filter fordetermining the user's heading (e.g., the variation of the Kalman filterdescribed above).

In block 436, the mobile computing device 100 determines the step lengthof the user (i.e., the length of the user's stride in the horizontaldirection). For example, the mobile computing device 100 may determinethe user's step length based on a user step model 132 as describedabove. In block 438 of FIG. 6, the mobile computing device 100determines the location of the user based on the user's heading and theuser's step length. In some embodiments, the mobile computing device 100may determine that the user is located a distance (i.e., the steplength) away from the user's previously determined location at theuser's previous step in the direction of the user's heading.

In block 440, the mobile computing device 100 determines whether torefine the user's location. As discussed above, the Kalman filter may bereinitialized in response to detection of a large amount of horizontalrotation of the mobile computing device 100. In those circumstances, theKalman filter may take a certain number of time/steps to converge andbecome stable again. Accordingly, the mobile computing device 100 maydetermine to refine (e.g., backstep) the determined location of the usera threshold number of steps following reinitialization of the Kalmanfilter. In block 442, the mobile computing device 100 refines the user'slocation. In the illustrative embodiment, the mobile computing device100 does so by backstepping the user heading and location calculations.For example, in block 444, the mobile computing device 100 may backstepthe user's location and calculate new locations. In particular, themobile computing device 100 may recalculate the user's heading from thelatest step back to the first step following reinitialization to updatethe user headings. Additionally, the mobile computing device 100 mayrecalculate the user's location with the updated user headings from thefirst step following reinitialization to the last step taken by the user(e.g., the threshold step). The method 400 returns to block 408 of FIG.4 in which the mobile computing device 100 waits for detection of thenext step by the user.

As described herein, the mobile computing device 100 tracks the locationof the user on a step-by-step basis using heading estimation, a Kalmanfilter, and adaptive controls for non-step motions of the user (e.g.,tilt and large rotations). In response to detecting a step by the user,the user's new location is calculated based on the user's previouslocation, the estimated user heading, and the estimated step length ofthe user. Movements of the mobile computing device 100 unrelated to thestepping motion of the user (e.g., tilting and rotations of the mobilecomputing device 100 relative to the user) are appropriately handled bythe mobile computing device 100. Further, in certain circumstances, themobile computing device 100 may refine the determined location of theuser as described above.

EXAMPLES

Illustrative examples of the technologies disclosed herein are providedbelow. An embodiment of the technologies may include any one or more,and any combination of, the examples described below.

Example 1 includes a mobile computing device for determining a user'slocation, the mobile computing device comprising a plurality of inertialsensors to sense inertial characteristics of the mobile computingdevice; a sensor processing module to detect that a user of the mobilecomputing device has taken a physical step in a direction based on theinertial characteristics of the mobile computing device sensed by theplurality of inertial sensors; a raw heading estimation module todetermine a directional heading of the mobile computing device in thedirection and a variation of an orientation of the mobile computingdevice relative to a previous orientation of the mobile computing deviceat a previous physical step of the user based on the sensed inertialcharacteristics; a Kalman filter module to apply a Kalman filter todetermine a heading of the user based on the determined directionalheading and the variation of the orientation of the mobile computingdevice; and a location determination module to determine an estimatedlocation of the user based on the determined heading of the user, anestimated step length of the user, and a previous location of the userat the previous physical step.

Example 2 includes the subject matter of Example 1, and wherein todetect that the user has taken a physical step, determine thedirectional heading of the mobile computing device and the variation ofthe orientation of the mobile computing device, apply the Kalman filterto determine the heading of the user, and determine the estimatedlocation of the user comprises to detect that the user has taken aphysical step, determine the directional heading of the mobile computingdevice and the variation of the orientation of the mobile computingdevice, apply the Kalman filter to determine the heading of the user,and determine the estimated location of the user for each of a pluralityof sequential physical steps taken by the user.

Example 3 includes the subject matter of any of Examples 1 and 2, andfurther including a motion management module to (i) determine whetherthe mobile computing device has been tilted in a non-horizontaldirection in response to a detection that the user has taken thephysical step and (ii) ignore the detected physical step in response toa determination that the mobile computing device has been tilted in thenon-horizontal direction.

Example 4 includes the subject matter of any of Examples 1-3, andfurther including a motion management module to (i) determine whetherthe mobile computing device has been rotated along a horizontal plane byan amount exceeding a reference threshold and (ii) reinitialize theKalman filter in response to a determination that the mobile computingdevice has been rotated along the horizontal plane by an amountexceeding the reference threshold.

Example 5 includes the subject matter of any of Examples 1-4, andwherein the reference threshold is ninety degrees of rotation.

Example 6 includes the subject matter of any of Examples 1-5, andwherein to reinitialize the Kalman filter comprises to increase a statecovariance of the Kalman filter to increase the Kalman filter'stolerance in error.

Example 7 includes the subject matter of any of Examples 1-6, andfurther including a location refinement module to refine the determinedestimated location of the user in response to a determination that (i)the Kalman filter has been reinitialized and (ii) a number of physicalsteps taken by the user subsequent to reinitialization of the Kalmanfilter exceeds a reference threshold.

Example 8 includes the subject matter of any of Examples 1-7, andwherein to refine the determined estimated location comprises to update,in response to a determination that the number of physical steps takenby the user subsequent to the reinitialization has reached the referencethreshold, the user's heading for each of the physical steps subsequentto the reinitialization up to the step at which the user reached thereference threshold based on the determined heading at the step at whichthe user reached the reference threshold; and recalculate the estimatedlocation of the user based on the user's updated heading.

Example 9 includes the subject matter of any of Examples 1-8, andwherein to apply the Kalman filter comprises to apply a linear Kalmanfilter having a state transition function,x_(k)=x_(k−1)+O_(k)−O_(k−1)+ε_(k), and a measurement function,y_(k)=x_(k)+δ_(k), wherein x_(k) is the determined heading of the userat step k, O_(k) is an orientation of the mobile computing device atstep k, ε_(k) is a state transition error at step k, y_(k) is thedetermined directional heading of the mobile computing device at step k,and δ_(k) is a measurement error associated with integration of anacceleration of the mobile computing device at step k.

Example 10 includes the subject matter of any of Examples 1-9, andwherein to apply the Kalman filter comprises to apply a linear Kalmanfilter having a state transition function,x_(k)=H_(k)−H_(k−1)=O_(k)−O_(k−1)+ε_(k), and a measurement function,y_(k)=x_(k)+H_(k−1)+δ_(k), wherein H_(k) is an estimated heading of theuser at step k, x_(k) is an estimated heading change at step k, O_(k) isan orientation of the mobile computing device at step k, ε_(k) is astate transition error at step k, y_(k) is the determined directionalheading of the mobile computing device at step k, and δ_(k) is ameasurement error associated with integration of an acceleration of themobile computing device at step k

Example 11 includes the subject matter of any of Examples 1-10, andwherein the Kalman filter module is to initialize the Kalman filterprior to a first physical step of the plurality of sequential physicalsteps.

Example 12 includes the subject matter of any of Examples 1-11, andwherein to determine a directional heading of the mobile computingdevice in the direction comprises to determine a velocity of the mobilecomputing device in the direction.

Example 13 includes the subject matter of any of Examples 1-12, andwherein to determine the velocity of the mobile computing device in thedirection comprises to sense an acceleration of the mobile computingdevice with an inertial sensor of the plurality of inertial sensors;convert the sensed acceleration from a frame of reference of theinertial sensor to an acceleration in Earth's frame of reference; anddetermine a velocity of the mobile computing device in the directionbased on the acceleration in Earth's frame of reference.

Example 14 includes the subject matter of any of Examples 1-13, andwherein to determine the velocity of the mobile computing device in thedirection comprises to determine a rotation matrix mapping the frame ofreference of the inertial sensor to Earth's frame of reference; applythe determined rotation matrix to the sensed acceleration to determinean acceleration of the mobile computing device in Earth's frame ofreference; integrate the acceleration in Earth's frame of reference todetermine a velocity in Earth's frame of reference; and project thedetermined velocity in Earth's frame of reference onto a horizontalplane on which the user physically stepped.

Example 15 includes the subject matter of any of Examples 1-14, andwherein the location determination module is to determine the estimatedstep length of the user based on a user step model.

Example 16 includes a method for determining a user's location on amobile computing device, the method comprising detecting, by the mobilecomputing device and based on sensed inertial characteristics of themobile computing device, that a user of the mobile computing device hastaken a physical step in a direction; determining, by the mobilecomputing device, a directional heading of the mobile computing devicein the direction and a variation of an orientation of the mobilecomputing device relative to a previous orientation of the mobilecomputing device at a previous physical step of the user based on thesensed inertial characteristics; applying, by the mobile computingdevice, a Kalman filter to determine a heading of the user based on thedetermined directional heading of the user and the variation of theorientation of the mobile computing device; and determining, by themobile computing device, an estimated location of the user based on thedetermined heading of the user, an estimated step length of the user,and a previous location of the user at the previous physical step.

Example 17 includes the subject matter of Example 16, and whereindetecting that the user has taken a physical step, determining thedirectional heading of the mobile computing device and the variation ofthe orientation of the mobile computing device, applying the Kalmanfilter to determine the heading of the user, and determining theestimated location of the user comprises detecting that the user hastaken a physical step, determining the directional heading of the mobilecomputing device and the variation of the orientation of the mobilecomputing device, applying the Kalman filter to determine the heading ofthe user, and determining the estimated location of the user for each ofa plurality of sequential physical steps taken by the user.

Example 18 includes the subject matter of Example 16 and 17, and furtherincluding determining, by the mobile computing device, whether themobile computing device has been tilted in a non-horizontal direction inresponse to detecting that the user has taken the physical step; andignoring, by the mobile computing device, the detected physical step inresponse to determining the mobile computing device has been tilted inthe non-horizontal direction.

Example 19 includes the subject matter of Example 16-18, and furtherincluding determining, by the mobile computing device, whether themobile computing device has been rotated along a horizontal plane by anamount exceeding a reference threshold; and reinitializing, by themobile computing device, the Kalman filter in response to determiningthe mobile computing device has been rotated along the horizontal planeby an amount exceeding the reference threshold.

Example 20 includes the subject matter of Example 16-19, and wherein thepredetermined threshold is ninety degrees of rotation.

Example 21 includes the subject matter of Example 16-20, and whereinreinitializing the Kalman filter comprises increasing a state covarianceof the Kalman filter to increase the Kalman filter's tolerance in error.

Example 22 includes the subject matter of Example 16-21, and furtherincluding refining, by the mobile computing device, the determinedestimated location of the user in response to determining (i) the Kalmanfilter has been reinitialized and (ii) a number of physical steps takenby the user subsequent to reinitilaization of the Kalman filter exceedsa reference threshold.

Example 23 includes the subject matter of Example 16-22, and whereinrefining the determined estimated location comprises updating, inresponse to the number of physical steps taken by the user subsequent tothe reinitialization reaching the reference threshold, the user'sheading for each of the physical steps subsequent to thereinitialization up to the step at which the user reached the referencethreshold based on the determined heading at the step at which the userreached the referenced threshold; and recalculating the estimatedlocation of the user based on the user's updated heading.

Example 24 includes the subject matter of Example 16-23, and whereinapplying the Kalman filter comprises applying a linear Kalman filterhaving a state transition function, x_(k)=x_(k−1)+O_(k)−O_(k−1)+ε_(k),and a measurement function, y_(k)=x_(k)+δ_(k), wherein x_(k) is thedetermined heading of the user at step k, O_(k) is an orientation of themobile computing device at step k, ε_(k) is a state transition error atstep k, y_(k) is the determined directional heading of the mobilecomputing device at step k, and δ_(k) is a measurement error associatedwith integration of an acceleration of the mobile computing device atstep k.

Example 25 includes the subject matter of Example 16-24, and whereinapplying the Kalman filter comprises applying a linear Kalman filterhaving a state transition function,x_(k)=H_(k)−H_(k−1)=O_(k)−O_(k−1)+ε_(k), and a measurement function,y_(k)=x_(k)+H_(k−1)+δ_(k), wherein H_(k) is an estimated heading of theuser at step k, x_(k) is an estimated heading change at step k, O_(k) isorientation of the mobile computing device at step k, ε_(k) is a statetransition error at step k, y_(k) is the determined directional headingof the mobile computing device at step k, and δ_(k) is a measurementerror associated with integration of an acceleration of the mobilecomputing device at step k

Example 26 includes the subject matter of Example 16-25, and furtherincluding initializing, by the mobile computing device, the Kalmanfilter prior to a first physical step of the plurality of sequentialphysical steps.

Example 27 includes the subject matter of Example 16-26, and whereindetermining the directional heading of the mobile computing device inthe direction comprises determining a velocity of the mobile computingdevice in the direction.

Example 28 includes the subject matter of Example 16-27, and whereindetermining the velocity of the mobile computing device in the directioncomprises sensing an acceleration of the mobile computing device with aninertial sensor of the mobile computing device; converting the sensedacceleration from a frame of reference of the inertial sensor to anacceleration in Earth's frame of reference; and determining a velocityof the mobile computing device in the direction based on theacceleration in Earth's frame of reference.

Example 29 includes the subject matter of Example 16-28, and whereindetermining the velocity of the mobile computing device in the directioncomprises determining a rotation matrix mapping the frame of referenceof the inertial sensor to Earth's frame of reference; applying thedetermined rotation matrix to the sensed acceleration to determine anacceleration of the mobile computing device in Earth's frame ofreference; integrating the acceleration in Earth's frame of reference todetermine a velocity in Earth's frame of reference; and projecting thedetermined velocity in Earth's frame of reference onto a horizontalplane on which the user physically stepped.

Example 30 includes the subject matter of Example 16-29, and furtherincluding determining, by the mobile computing device, the estimatedstep length of the user based on a user step model.

Example 31 includes a computing device comprising a processor; and amemory having stored therein a plurality of instructions that whenexecuted by the processor cause the computing device to perform themethod of any of Examples 16-30.

Example 32 includes one or more machine-readable storage mediacomprising a plurality of instructions stored thereon that, in responseto being executed, result in a computing device performing the method ofany of Examples 16-30.

Example 33 includes a mobile computing device for determining a user'slocation, the mobile computing device comprising means for detecting,based on sensed inertial characteristics of the mobile computing device,that a user of the mobile computing device has taken a physical step ina direction; means for determining a directional heading of the mobilecomputing device in the direction and a variation of an orientation ofthe mobile computing device relative to a previous orientation of themobile computing device at a previous physical step of the user based onthe sensed inertial characteristics; means for applying a Kalman filterto determine a heading of the user based on the determined directionalheading of the user and the variation of the orientation of the mobilecomputing device; and means for determining an estimated location of theuser based on the determined heading of the user, an estimated steplength of the user, and a previous location of the user at the previousphysical step.

Example 34 includes the subject matter of Example 33, and wherein themeans for detecting that the user has taken a physical step, the meansfor determining the directional heading of the mobile computing deviceand the variation of the orientation of the mobile computing device, themeans for applying the Kalman filter to determine the heading of theuser, and the means for determining the estimated location of the usercomprises means for detecting that the user has taken a physical step,means for determining the directional heading of the mobile computingdevice and the variation of the orientation of the mobile computingdevice, means for applying the Kalman filter to determine the heading ofthe user, and means for determining the estimated location of the userfor each of a plurality of sequential physical steps taken by the user.

Example 35 includes the subject matter of any of Examples 33 and 34, andfurther including means for determining whether the mobile computingdevice has been tilted in a non-horizontal direction in response todetecting that the user has taken the physical step; and means forignoring the detected physical step in response to determining themobile computing device has been tilted in the non-horizontal direction.

Example 36 includes the subject matter of any of Examples 33-35, andfurther including means for determining whether the mobile computingdevice has been rotated along a horizontal plane by an amount exceedinga reference threshold; and means for reinitializing the Kalman filter inresponse to determining the mobile computing device has been rotatedalong the horizontal plane by an amount exceeding the referencethreshold.

Example 37 includes the subject matter of any of Examples 33-36, andwherein the predetermined threshold is ninety degrees of rotation.

Example 38 includes the subject matter of any of Examples 33-37, andwherein the means for reinitializing the Kalman filter comprises meansfor increasing a state covariance of the Kalman filter to increase theKalman filter's tolerance in error.

Example 39 includes the subject matter of any of Examples 33-38, andfurther including means for refining the determined estimated locationof the user in response to determining (i) the Kalman filter has beenreinitialized and (ii) a number of physical steps taken by the usersubsequent to reinitilaization of the Kalman filter exceeds a referencethreshold.

Example 40 includes the subject matter of any of Examples 33-39, andwherein the means for refining the determined estimated locationcomprises means for updating, in response to the number of physicalsteps taken by the user subsequent to the reinitialization reaching thereference threshold, the user's heading for each of the physical stepssubsequent to the reinitialization up to the step at which the userreached the reference threshold based on the determined heading at thestep at which the user reached the referenced threshold; and means forrecalculating the estimated location of the user based on the user'supdated heading.

Example 41 includes the subject matter of any of Examples 33-40, andwherein the means for applying the Kalman filter comprises means forapplying a linear Kalman filter having a state transition function,x_(k)=x_(k−1)+O_(k)−O_(k−1)+ε_(k), and a measurement function,y_(k)=x_(k)+δ_(k), wherein x_(k) is the determined heading of the userat step k, O_(k) is an orientation of the mobile computing device atstep k, ε_(k) is a state transition error at step k, y_(k) is thedetermined directional heading of the mobile computing device at step k,and δ_(k) is a measurement error associated with integration of anacceleration of the mobile computing device at step k.

Example 42 includes the subject matter of any of Examples 33-41, andwherein the means for applying the Kalman filter comprises means forapplying a linear Kalman filter having a state transition function,x_(k)=H_(k)−H_(k−1)=O_(k)−O_(k−1)+ε_(k), and a measurement function,y_(k)=x_(k)+H_(k−1)+δ_(k), wherein H_(k) is an estimated heading of theuser at step k, x_(k) is an estimated heading change at step k, O_(k) isan orientation of the mobile computing device at step k, ε_(k) is astate transition error at step k, y_(k) is the determined directionalheading of the mobile computing device at step k, and δ_(k) is ameasurement error associated with integration of an acceleration of themobile computing device at step k

Example 43 includes the subject matter of any of Examples 33-42, andfurther including means for initializing the Kalman filter prior to afirst physical step of the plurality of sequential physical steps.

Example 44 includes the subject matter of any of Examples 33-43, andwherein the means for determining the directional heading of the mobilecomputing device in the direction comprises means for determining avelocity of the mobile computing device in the direction.

Example 45 includes the subject matter of any of Examples 33-44, andwherein the means for determining the velocity of the mobile computingdevice in the direction comprises means for sensing an acceleration ofthe mobile computing device with an inertial sensor of the mobilecomputing device; means for converting the sensed acceleration from aframe of reference of the inertial sensor to an acceleration in Earth'sframe of reference; and means for determining a velocity of the mobilecomputing device in the direction based on the acceleration in Earth'sframe of reference.

Example 46 includes the subject matter of any of Examples 33-45, andwherein the means for determining the velocity of the mobile computingdevice in the direction comprises means for determining a rotationmatrix mapping the frame of reference of the inertial sensor to Earth'sframe of reference; means for applying the determined rotation matrix tothe sensed acceleration to determine an acceleration of the mobilecomputing device in Earth's frame of reference; means for integratingthe acceleration in Earth's frame of reference to determine a velocityin Earth's frame of reference; and means for projecting the determinedvelocity in Earth's frame of reference onto a horizontal plane on whichthe user physically stepped.

Example 47 includes the subject matter of any of Examples 33-46, andfurther including means for determining the estimated step length of theuser based on a user step model.

The invention claimed is:
 1. A mobile computing device for determining auser's location, the mobile computing device comprising: a Kalman filtermodule to determine a heading of a user of the mobile computing devicebased on a determined directional heading of the mobile computing deviceand a variation of an orientation of the mobile computing device; and alocation determination module to determine an estimated location of theuser based on the determined heading of the user, an estimated steplength of the user, and a previous location of the user.
 2. The mobilecomputing device of claim 1, wherein to determine the heading of theuser of the mobile computing device comprises to apply a Kalman filter.3. The mobile computing device of claim 2, further comprising a motionmanagement module to (i) determine whether the mobile computing devicehas been tilted in a non-horizontal direction in response to a detectionthat the user has taken a physical step and (ii) ignore the detectedphysical step in response to a determination that the mobile computingdevice has been tilted in the non-horizontal direction.
 4. The mobilecomputing device of claim 2, further comprising a motion managementmodule to (i) determine whether the mobile computing device has beenrotated along a horizontal plane by an amount exceeding a referencethreshold and (ii) reinitialize the Kalman filter in response to adetermination that the mobile computing device has been rotated alongthe horizontal plane by an amount exceeding the reference threshold. 5.The mobile computing device of claim 4, wherein the reference thresholdis ninety degrees of rotation.
 6. The mobile computing device of claim4, wherein to reinitialize the Kalman filter comprises to increase astate covariance of the Kalman filter to increase the Kalman filter'stolerance in error.
 7. The mobile computing device of claim 2, furthercomprising a location refinement module to refine the determinedestimated location of the user in response to a determination that (i)the Kalman filter has been reinitialized and (ii) a number of physicalsteps taken by the user subsequent to reinitialization of the Kalmanfilter exceeds a reference threshold.
 8. The mobile computing device ofclaim 7, wherein to refine the determined estimated location comprisesto: update, in response to a determination that the number of physicalsteps taken by the user subsequent to the reinitialization has reachedthe reference threshold, the user's heading for each of the physicalsteps subsequent to the reinitialization up to the step at which theuser reached the reference threshold based on the determined heading atthe step at which the user reached the reference threshold; andrecalculate the estimated location of the user based on the user'supdated heading.
 9. The mobile computing device of claim 2, wherein toapply the Kalman filter comprises to apply a linear Kalman filter havinga state transition function, x_(k)=x_(k−1)+O_(k)−O_(k)+ε_(k), and ameasurement function, y_(k)=x_(k)+δ_(k), wherein: x_(k) is thedetermined heading of the user at step k, O_(k) is an orientation of themobile computing device at step k, ε_(k) is a state transition error atstep k, y_(k) is the determined directional heading of the mobilecomputing device at step k, and δ_(k) is a measurement error associatedwith integration of an acceleration of the mobile computing device atstep k.
 10. The mobile computing device of claim 2, wherein to apply theKalman filter comprises to apply a linear Kalman filter having a statetransition function, x_(k)=H_(k)−H_(k−1)=O_(k)−O_(k−1)+ε_(k), and ameasurement function, y_(k)=x_(k)+H_(k−1)+δ_(k), wherein: H_(k) is anestimated heading of the user at step k, x_(k) is an estimated headingchange at step k, O_(k) is an orientation of the mobile computing deviceat step k, ε_(k) is a state transition error at step k, y_(k) is thedetermined directional heading of the mobile computing device at step k,and δ_(k) is a measurement error associated with integration of anacceleration of the mobile computing device at step k.
 11. The mobilecomputing device of claim 1, further comprising a directional headingestimation module to determine a directional heading of the mobilecomputing device and a velocity of the mobile computing device in thedirection.
 12. The mobile computing device of claim 11, wherein todetermine the velocity of the mobile computing device in the directioncomprises to: sense an acceleration of the mobile computing device withan inertial sensor; convert the sensed acceleration from a frame ofreference of the inertial sensor to an acceleration in Earth's frame ofreference; and determine a velocity of the mobile computing device inthe direction based on the acceleration in Earth's frame of reference.13. The mobile computing device of claim 12, wherein to determine thevelocity of the mobile computing device in the direction comprises to:determine a rotation matrix mapping the frame of reference of theinertial sensor to Earth's frame of reference; apply the determinedrotation matrix to the sensed acceleration to determine an accelerationof the mobile computing device in Earth's frame of reference; integratethe acceleration in Earth's frame of reference to determine a velocityin Earth's frame of reference; and project the determined velocity inEarth's frame of reference onto a horizontal plane on which the userphysically stepped.
 14. One or more machine-readable storage mediacomprising a plurality of instructions stored thereon that, in responseto execution by a mobile computing device, cause the mobile computingdevice to: determine a heading of a user of the mobile computing devicebased on a determined directional heading of the mobile computing deviceand a variation of an orientation of the mobile computing device; anddetermine an estimated location of the user based on the determinedheading of the user, an estimated step length of the user, and aprevious location of the user.
 15. The one or more machine-readablestorage media of claim 14, wherein to determine the heading of the userof the mobile computing device comprises to apply a Kalman filter. 16.The one or more machine-readable storage media of claim 15, wherein theplurality of instructions further cause the mobile computing device to:determine whether the mobile computing device has been tilted in anon-horizontal direction in response to detecting that the user hastaken a physical step; and ignore the detected physical step in responseto determining the mobile computing device has been tilted in thenon-horizontal direction.
 17. The one or more machine-readable storagemedia of claim 15, wherein the plurality of instructions further causethe mobile computing device to: determine whether the mobile computingdevice has been rotated along a horizontal plane by an amount exceedinga reference threshold; and reinitialize the Kalman filter in response todetermining the mobile computing device has been rotated along thehorizontal plane by an amount exceeding the reference threshold.
 18. Theone or more machine-readable storage media of claim 15, wherein theplurality of instructions further cause the mobile computing device torefine the determined estimated location of the user in response todetermining (i) the Kalman filter has been reinitialized and (ii) anumber of physical steps taken by the user subsequent toreinitilaization of the Kalman filter exceeds a reference threshold. 19.The one or more machine-readable storage media of claim 18, wherein torefine the determined estimated location comprises to: update, inresponse to the number of physical steps taken by the user subsequent tothe reinitialization reaching the reference threshold, the user'sheading for each of the physical steps subsequent to thereinitialization up to the step at which the user reached the referencethreshold based on the determined heading at the step at which the userreached the referenced threshold; and recalculate the estimated locationof the user based on the user's updated heading.
 20. The one or moremachine-readable storage media of claim 15, wherein to apply the Kalmanfilter comprises to apply a linear Kalman filter having a statetransition function, x_(k)=x_(k−1)+O_(k)−O_(k)+ε_(k), and a measurementfunction, y_(k)=x_(k)+δ_(k), wherein: x_(k) is the determined heading ofthe user at step k, O_(k) is an orientation of the mobile computingdevice at step k, ε_(k) is a state transition error at step k, y_(k) isthe determined directional heading of the mobile computing device atstep k, and δ_(k) is a measurement error associated with integration ofan acceleration of the mobile computing device at step k.
 21. The one ormore machine-readable storage media of claim 14, wherein the pluralityof instructions further cause the mobile computing device to determinethe directional heading of the mobile computing device in the directionand determine a velocity of the mobile computing device in thedirection.
 22. The one or more machine-readable storage media of claim14, wherein the plurality of instructions further cause the mobilecomputing device to determine the estimated step length of the userbased on a user step model.
 23. A method for determining a user'slocation on a mobile computing device, the method comprising:determining, by the mobile computing device, a heading of a user of thecomputing device based on a determined directional heading of the mobilecomputing device and a variation of an orientation of the mobilecomputing device; and determining, by the mobile computing device, anestimated location of the user based on the determined heading of theuser, an estimated step length of the user, and a previous location ofthe user.
 24. The method of claim 23, wherein determining the heading ofthe user of the mobile computing device comprises applying a Kalmanfilter.
 25. The method of claim 24, further comprising: determining, bythe mobile computing device, whether the mobile computing device hasbeen tilted in a non-horizontal direction in response to detecting thatthe user has taken a physical step; ignoring, by the mobile computingdevice, the detected physical step in response to determining the mobilecomputing device has been tilted in the non-horizontal direction;determining, by the mobile computing device, whether the mobilecomputing device has been rotated along a horizontal plane by an amountexceeding a reference threshold; and reinitializing, by the mobilecomputing device, the Kalman filter in response to determining themobile computing device has been rotated along the horizontal plane byan amount exceeding the reference threshold.